package com.uobgroup.ews.uam.core.service;

import com.uobgroup.ews.uam.core.domain.ApplicationConfiguration;
import java.util.List;

public interface ApplicationConfigurationService {

   public abstract long countAllApplicationConfigurations();

   public abstract void deleteApplicationConfiguration(ApplicationConfiguration applicationConfiguration);

   public abstract ApplicationConfiguration findApplicationConfiguration(Long id);

   public abstract List<ApplicationConfiguration> findAllApplicationConfigurations();

   public abstract List<ApplicationConfiguration> findApplicationConfigurationEntries(int firstResult, int maxResults);

   public abstract void saveApplicationConfiguration(ApplicationConfiguration applicationConfiguration);

   public abstract ApplicationConfiguration updateApplicationConfiguration(
         ApplicationConfiguration applicationConfiguration);
   public List<ApplicationConfiguration> findUsernameDomain(String applicationConfigKey);
}
